// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   TestService.java

package com.hfstu.ifs.webservice.rs.server;

import com.hfstu.framework.rest.RsResponse;
import com.hfstu.ifs.webservice.dto.UserDTO;

public class TestService
{

	public TestService()
	{
	}

	public String helloWorld()
	{
		String ret = "Hello World!";
		return ret;
	}

	public UserDTO getUser(Long id)
	{
		UserDTO ud;
		ud = new UserDTO();
		ud.setEmail("xiangdejun520@163.com");
		ud.setId(id);
		return ud;
		RuntimeException e;
		e;
		throw RsResponse.buildDefaultException(e);
	}

	public UserDTO searchUser(String loginName, String name)
	{
		UserDTO ud;
		ud = new UserDTO();
		ud.setEmail("xiangdejun520@163.com");
		ud.setLoginName(loginName);
		ud.setName(name);
		return ud;
		RuntimeException e;
		e;
		throw RsResponse.buildDefaultException(e);
	}
}
